improved tests. removed check on init to allow login