database unit tests finished, add new profile dialog added