fixed typo
merged test suite
check avatar file extensions
optimized Application::update_avatar() method - use generated filename instead of basename(path) method
added max_size parameter in read_from_stream() utility function
some minor changes in test suite after reviewing the code