added mock tests