tested profile class and got unittest running