fix missing semicolon; tests