* Filter only mock options when in dev mode * Filter only in production mode * Refactor filter to separate function, add unit tests * Check for mock codes in test