rewritten tests so making it public is not necessary