Fixed frontend unit tests