Made client run once
Updated tests for admin