(test) made login test more functional